package com.jds.test.httpproxy.httpclient;

import io.netty.channel.ChannelHandlerContext;

import java.util.Map;

/**
 * Created by joyce on 2019/12/26.
 */
public class ResHttp {
    private int ret;
    private Map<String, String> headers;
    private byte [] body;

    public ResHttp(int ret, Map headers, byte [] body) {
        this.ret = ret;
        this.headers = headers;
        this.body = body;
    }

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
